# Munja Purple (A GTK2 Theme)
# Built on the XFce & Smooth Engine
# by Patrick Yavitz

include "iconrc"
gtk-icon-sizes = "panel-menu=24,24"
style "default"
{
    GtkButton::default_border         = {0, 0, 0, 0}
    GtkButton::default_outside_border = {0, 0, 0, 0}
    GtkButton::default_spacing        = 8
    GtkCheckButton::indicator_size    = 11
    GtkCheckMenuItem::indicator_size    = 11
    GtkRadioButton::indicator_size    = 11
    GtkRadioMenuItem::indicator_size    = 11
    GtkMenuItem::selected_shadow_type = out
    GtkPaned::handle_full_size        = 1
    GtkPaned::handle_size             = 1
    GtkRange::slider_width            = 15
    GtkRange::stepper_size            = 15
    GtkRange::stepper_spacing         = 0
    GtkRange::trough_border           = 1
    #GtkScrollbar::min_slider_length   = 20
    #GtkSpinButton::shadow_type        = out
    #GtkWidget::internal_padding       = 0
    GtkWidget::focus_padding          = 0
    #GtkWidget::focus-line-width       = ""
    GtkWidget::interior_focus         = 0
    GtkMenuBar::shadow_type           = out
    GtkToolbar::shadow_type           = out
    GtkButton::child_displacement_x   = 0
    GtkButton::child_displacement_y   = 0
    GtkButton::indicator_size = 0
    GtkOptionMenu::indicator_size = { 6, 6 }
    GtkOptionMenu::indicator_spacing = { 0, 4, 0, 0 }
    GtkTreeView::odd_row_color = "#E9EAE4"


    xthickness = 2
    ythickness = 2

	fg[ACTIVE] = "#000000"
	fg[SELECTED] = "#FFFFFF"
	fg[NORMAL] = "#000000"
	fg[PRELIGHT] = "#000000"
	fg[INSENSITIVE] = "#565248"

	bg[ACTIVE] = "#DBD9D4"
	bg[SELECTED] = "#887FA3"
	bg[NORMAL] = "#EAE8E3"
	bg[PRELIGHT] = "#F0EEE9"
	bg[INSENSITIVE] = "#EAE8E3"

	base[ACTIVE] = "#AFAABF"
	base[SELECTED] = "#887FA3"
	base[NORMAL] = "#FFFFFF"
	base[PRELIGHT] = "#FFFFFF"
	base[INSENSITIVE] = "#FFFFFF"

	text[ACTIVE] = "#000000"
	text[SELECTED] = "#FFFFFF"
	text[NORMAL] = "#000000"
	text[PRELIGHT] = "#000000"
	text[INSENSITIVE] = "#565248"

   engine "smooth" {
	fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
      }

    line {
        style=flat
        thickness=2
        		}

		grip {
			style		= dots_out
			count		= 4
			spacing		= 2
			
		fill {
			style		= none
			    }

    			line {
        		style=smooth
       	 		thickness=2
       }
    option {
        style=circle
        motif=true
      }
    arrow {
      style=wonderland
      solid=TRUE
      etched=FALSE
    }
    tab_style = square
  }
}widget_class "*"                  style "default"

###########################################
# Text Entry
###########################################
#
style "gtk-entry" {
   text[NORMAL]      = "#000000"
   text[PRELIGHT]    = "#000000"
   text[SELECTED]    = "#FFFFFF"
}
    style "gtk-entry" {
    xthickness = 2
    ythickness = 2
	engine "smooth"
	{

		fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.10
			shade2 = 0.95
	    }

		edge
		{
		    line
		    {
		        style = smooth
		        thickness = 3
		    }
		}

		trough
		{
			fill
			{
				style = solid
			}
			line
			{
		        style = circle
		        thickness = 2
			}
		}

		focus
		{
			foreground[ACTIVE] = "#887FA3"
			foreground[SELECTED] = "#887FA3"
			foreground[NORMAL] = "#887FA3"
			foreground[PRELIGHT] = "#887FA3"
		}
	}
}
widget_class "*Text*"              style "gtk-entry"
class "*Text*"                     style "gtk-entry"
widget_class "*GtkEntry*"          style "gtk-entry"
class "*GtkEntry*"                 style "gtk-entry"
widget_class "*Entry*"             style "gtk-entry"
class "*Entry*"                    style "gtk-entry"
widget_class "*List*"              style "gtk-entry"
class "*List*"                     style "gtk-entry"

###########################################
# Menu & Toolbar
###########################################
#
style "xfce-menubar"
{
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.02
            shade_end = 1.00
        }
    }
}

widget_class "*BonoboDockItem*"    style "xfce-menubar"
class "*BonoboDockItem*"           style "xfce-menubar"
widget_class "*HandleBox*"         style "xfce-menubar"
class "*HandleBox*"                style "xfce-menubar"
widget_class "*Tool*"              style "xfce-menubar"
class "*Tool*"                     style "xfce-menubar"
widget_class "*MenuBar*"           style "xfce-menubar"
class "*MenuBar*"                  style "xfce-menubar"

###########################################
# Menu Item
###########################################
#
style "xfce-menuitem" {
	bg[PRELIGHT] = "#887FA3"
	fg[PRELIGHT] = "#FFFFFF"
	base[PRELIGHT] = "#887FA3"
	text[PRELIGHT] = "#FFFFFF"
	}
style "xfce-menuitem" {
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.12
            shade_end = 0.95
        }
    }
}
widget_class "*MenuItem*"          style "xfce-menuitem"
class "*MenuItem*"                 style "xfce-menuitem"
widget_class "*GtkMenuItem*" 	   style "xfce-menuitem"
class "*GtkMenuItem*"              style "xfce-menuitem"
widget_class "*GtkAccelMenuItem*" style "xfce-menuitem"
class "*GtkAccelMenuItem*"         style "xfce-menuitem"
widget_class "*GtkImageMenuItem*" style "xfce-menuitem"
class "*GtkImageMenuItem*"        style "xfce-menuitem"
widget_class "*GtkRadioMenuItem*" style "xfce-menuitem"
class "*GtkRadioMenuItem*"         style "xfce-menuitem"
widget_class "*GtkCheckMenuItem*" style "xfce-menuitem"
class "*GtkCheckMenuItem*"         style "xfce-menuitem"
widget_class "*GtkSeparatorMenuItem*" style "xfce-menuitem"
class "*GtkSeparatorMenuItem*"         style "xfce-menuitem"

###########################################
# Scrollbar
###########################################
#
style "xfce-scrollbar" = "xfce-default"
{
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = auto
            shade_start = 1.00
            shade_end = 0.97
        }
    }
}
widget_class "*Scrollbar*"         style "xfce-scrollbar"
class "*Scrollbar*"                style "xfce-scrollbar"

###########################################
# Push & Option Button
###########################################
#
style "xfce-button"
{
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.05
            shade_end = 1.00
        }
    }
}
widget_class "*Button*"            style "xfce-button"
class "*Button*"                   style "xfce-button"
widget_class "*button*"            style "xfce-button"
class "*button*"                   style "xfce-button"
widget_class "*OptionMenu*"        style "xfce-button"
class "*OptionMenu*"               style "xfce-button"
widget_class "*Tree*"              style "xfce-button"
class "*Tree*"                     style "xfce-button"
widget_class "*Scale*"             style "xfce-button"
class "*Scale*"                    style "xfce-button"
class "*ToggleButton*" 		   style "xfce-button"
widget_class "*ToggleButton*" 	   style "xfce-button"

###########################################
# Progress Bar 
###########################################
#
style "progress" {
   bg[PRELIGHT]	= "#EAE8E3"
   bg[NORMAL]    = "#887FA3"
  xthickness = 1
  ythickness = 1
  engine "smooth"
  {	
   real_sliders = FALSE
      fill {
        style=shaded
        vdirection = vertical
        hdirection = horizontal
        shade1 = 1.0
        shade2 = 1.0
      }
   progress {
        line {
          style=flat
          thickness=2
       }
    }
   trough {
        line {
          style=flat
          thickness=2
      }
    }
  }
}class "*Progress*"		style "progress"
widget_class "*Progress*"		style "progress"

###########################################
# Check & Radio Button
###########################################
#
style "check-radio" {
   bg[PRELIGHT]	= "#EAE8E3"
   bg[ACTIVE]        = "#E6E6E6"
   bg[INSENSITIVE]   = "#EAE8E3"
   fg[PRELIGHT]      = "#000000"
   text[NORMAL]      = "#887FA3"
   text[PRELIGHT]    = "#000000"
   text[SELECTED]    = "#000000"
   engine "smooth" {
      fill {
        style=shaded
        hdirection = vertical
        vdirection = horizontal
        shade1 = 1.20
        shade2 = 1.00
      }
    line {
        style=flat
        thickness=0
    }
   grip {
        style=dots_in
        toolbar_overlap = FALSE
        line {
          style=flat
          thickness=0
        }
    check {
        style=flat
        motif=true
        line {
           style=flat
           thickness=0
       }
    option {
        style=circle
        motif=false
       line {
          style=flat
          thickness=0
    }
  }
}  
}widget_class "*CheckButton*"       style "check-radio"
class "*CheckButton*"              style "check-radio"
widget_class "*RadioButton*"       style "check-radio"
class "*RadioButton*"              style "check-radio"

###########################################
# GTK Tooltips
###########################################
#
style "tooltips" = "default"
{
  xthickness = 2
  ythickness = 2
  bg[NORMAL] = "#887FA3"
  fg[NORMAL] = "#FFFFFF"
}
widget "*gtk-tooltips*" style "tooltips"
class "*gtk-tooltips*"  style "tooltips"

###########################################
# XFce & Metacity Titlebar
###########################################
#
style "xfce-titlebar"
{
    bg[SELECTED]      = "#887FA3"
    fg[SELECTED]      = "#ffffff"
    bg[ACTIVE]        = "#EEEEEE"
    fg[NORMAL]        = "#999999"
}
class "xfwm"                 	   style "xfce-titlebar"
widget "xfwm"                      style "xfce-titlebar"
class "MetaFrames"                 style "xfce-titlebar"
widget_class "MetaFrames"          style "xfce-titlebar"

style "metacity-frame"
{
	###### GTK Style Colours ######
	bg[SELECTED]		= "#887FA3"
	
	###### Theme Engine Style ######
	engine "smooth" {
		fill {
			style		= gradient
			hdirection	= vertical
			vdirection	= horizontal
			
        color1[PRELIGHT] = "#887FA3"
        color2[PRELIGHT] = "#887FA3"
        color1[SELECTED] = "#887FA3"
        color2[SELECTED] = "#887FA3"
        color1[NORMAL]   = "#F3F3F3"
        color2[NORMAL]   = "#EAE8E3"
        color1[INSENSITIVE] = "#EAEAEA"
        color2[INSENSITIVE] = "#565248"
		}

		line {
			style		= smooth
			thickness	= 2
		}
	}
}
class "MetaFrames" style "metacity-frame"
widget_class "MetaFrames" style "metacity-frame"